package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@TableName("app_family_attention")
public class AppFamilyAttention implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer userId;
    private Integer fid;
    private Date time;

    public AppFamilyAttention(Integer userId, Integer fid){
        this.userId = userId;
        this.fid = fid;
        this.time = new Date();
    }
}
